package model

import "go.mongodb.org/mongo-driver/bson/primitive"

//原始记录表
type InitRecord struct {
	Id             primitive.ObjectID `bson:"_id,omitempty" json:"_id" form:"_id"`
	Norms_Type     string             `bson:"norms_type"  form:"norms_type" json:"norms_type"`
	Batch_Number   string             `bson:"batch_number" binding:"required" form:"batch_number" json:"batch_number"`
	Box_Number     string             `bson:"box_number" binding:"required" form:"box_number" json:"box_number"`
	Length         int                `bson:"length" json:"length" form:"length"`
	Weight         float32            `bson:"weight" json:"weight" form:"weight"`
	Resistance     float32            `bson:"resistance" json:"resistance" form:"resistance"`
	Stipulate_Time string             `bson:"stipulate_time" binding:"required" form:"stipulate_time" json:"stipulate_time"` //前端规定时间
	Creator        string             `bson:"creator" json:"creator" form:"creator"`                                         //创建者
	CreatedAt      string             `bson:"createdAt" json:"createdAt" form:"createdAt"`                                   //后端生成时间
	Describe       string             `bson:"describe" json:"describe" form:"describe"`                                      //描述
}
